package com.jydd.mybroadcastreceiverstudy;

import android.content.Context;
import android.util.Log;
import android.widget.Toast;

/**
 * created by 韦敏敏
 * on 2019/12/27
 */
public class Util {
    public static final String STATIC_RECEIVER_ACTION = "com.ddch.liaoming.action.staticReceiver";
    public static final String DYNAMIC_RECEIVER_ACTION = "com.ddch.liaoming.action.dynamicReceiver";
    private static final String TAG = "liaoming";
    public static void log(String msg){
        Log.d(TAG, msg);
    }
    public static void showToast(Context context, String msg){
        Toast.makeText(context, msg, Toast.LENGTH_LONG).show();
    }

}
